    <h3>[${article.title}] 記事一覧 総件数:${count}件</h3> 
    <div class="pagination">
    <ul>
    %if p == 1:
    <li class="prev disabled"><a href="#">&larr; Previous</a></li>
    %else:
    <li class="prev"><a href="/paneo/articles/${article.prefix}/p${p-1}/">&larr; Previous</a></li>        
    %endif
    %for n in range(1,pages+1):
    %if n > ( p - 5 ) and n <= p:
    <li ${ 'class="active"' if p == n else '' }><a href="/paneo/articles/${article.prefix}/p${n}/">${n}</a></li>
    %elif ( n < ( p + 5 ) and n >= p ) or ( n < 10 and p < 6 ): 
    <li ${ 'class="active"' if p == n else '' }><a href="/paneo/articles/${article.prefix}/p${n}/">${n}</a></li>
    %endif
    %endfor
    %if p == pages or pages == 0:
    <li class="next disabled"><a href="#">Next &rarr;</a></li>
    %else:
    <li class="next"><a href="/paneo/articles/${article.prefix}/p${p+1}/">Next &rarr;</a></li>
    %endif
    </ul>
    </div>
    <!-- !/PAGING -->
    <table class="table table-striped">
        <thead>
        <tr>
        <th width="50"></th>
        <th></th>
        <th>SLUG</th>
        <th>KEY</th>
        <th>TITLE</th>
        <th>TEMPLATE</th>
        <th>GROUP</th>
        <th>CATEGORY</th>
        <th>UPDATE</th>
        </tr>
        </thead>
        %for post in posts:
        <tr>
        <td><a href="/paneo/articles/${article.prefix}/edit/ID${post.id}/contents/"><i class="icon-file"></i>編集</a></td>
        <td>
        ${ VIEWED.get(str(post.viewed)) }
        </td>
        <td>
        <a href="/article/${post.slug}.html" target="_blank" class="icon-share-alt"></a>
        ${post.slug}
        </td>
        <td>${post.key}</td>
        <td>${post.title}</td>
        <td>${post.template}</td>
        <td>${post.group.label}</td>
        <td>
        %for c in post.categories:
        ${c.label}
        %endfor
        </td>
        <td>${post.updated}</td>
        </tr>
        %endfor
    </table>

